<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */


/**
 * Smarty EXPLODE modifier plugin
 *
 * Type:     modifier<br>
 * Name:     explode<br>
 * Purpose:  explode string in array
 * @link http://smarty.php.net/manual/en/language.modifier.count.words.php
 *          explode (Smarty online manual)
 * @author   Monte Ohrt <monte at ohrt dot com>
 * @param string
 * @return array
 */
function smarty_modifier_explode($string)
{
    $string1 = explode(",", $string);
    return $string1;
}

/* vim: set expandtab: */

?>
